package com.sophossystems.client.asmon.hibernate;

import java.io.Serializable;

import com.sophossystems.client.asmon.dto.TipoRegimenDTO;

public class TipoRegimen implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	protected int idRegimen;
	
	protected String descripcion;

	/**
	 * @return the idRegimen
	 */
	public int getIdRegimen() {
		return idRegimen;
	}

	/**
	 * @param idRegimen the idRegimen to set
	 */
	public void setIdRegimen(int idRegimen) {
		this.idRegimen = idRegimen;
	}

	/**
	 * @return the descripcion
	 */
	public String getDescripcion() {
		return descripcion;
	}

	/**
	 * @param descripcion the descripcion to set
	 */
	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}
	
	
	public void mapper(TipoRegimenDTO regimen){
		this.idRegimen = regimen.getIdRegimen();
		this.descripcion = regimen.getDescripcion();
	}
	

}
